package com.tensquare.entity;

import lombok.AllArgsConstructor;
import lombok.Data;

@Data
@AllArgsConstructor
public class Result {
	private Integer code;// 返回码
	private String msg;//返回信息
	private Object data;// 返回数据
	
	public Result(Integer code, Object data) {
		this(code, "", data);
	}
	public Result(Integer code, String msg) {
		this(code, msg, null);
	}
}
